package com.lin.controller.service.impl;

import com.lin.controller.dao.UserDao;
import com.lin.controller.service.UserService;
import com.lin.controller.vo.UserVO;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.function.BiFunction;

/**
 * @ClassName UserServiceImpl
 * @Description
 * @Author lin
 * @Date 2022/7/26 下午11:28
 * @Version V1.0
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public List<UserVO> findByName(String name) {

        return userDao.findByName(name);
    }
}
